package com.b3a4a.ssmdemo.dao;


import com.b3a4a.ssmdemo.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface UserDao {
    @Select("SELECT * FROM t_user")
    public List<User> findAll();
}
